package com.sbr.seb.rule;

import java.util.Collection;

import com.sbr.genericdao.DAO;

public abstract class AbstractParameteredSpecification<T> implements Businessable<T> {

	private DAO<? extends Specification<T>> dao;
	
	@Override
	public Collection<? extends Specification<T>> getSpecifications() {
		return dao.findAll();
	}

	public void setDao(DAO<? extends Specification<T>> dao) {
		this.dao = dao;
	}

}
